home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 June / Chip Haziran 2000.iso / prog / basic / 09 / 09.exe / wmploc.DLL / 256 / 137 < prev    next >
Encoding:
Text File  |  2000-03-15  |  13.8 KB  |  209 lines

  1.  ■<theme >
  2. <view   id="View1" 
  3.         scriptFile="res://wmploc.dll/RT_TEXT/#138;res://wmploc.dll/RT_TEXT/#132"
  4.         timerInterval="1000"
  5.         ontimer="OnTimerTick();"
  6.         onload="InitVisualizations();"
  7.         onclose="CloseVisualizations();"
  8.         backgroundcolor="#000000"
  9. >
  10.     <player 
  11.         OpenState_onchange="OnOpenStateChange();"
  12.         PlayState_onchange="OnPlayStateChange();"
  13.         CurrentMediaItemAvailable="OnDownloadingMedia();"
  14.         MediaChanged="InitVisualizations();"
  15.     />
  16.     <subview id="svScreen"
  17.             zindex="1"
  18.             top="0" left="0"
  19.             width="jscript:View1.width;" height="jscript:View1.height;"
  20.             backgroundColor="black"
  21.             horizontalAlignment="stretch" 
  22.             verticalAlignment="stretch" 
  23.     >
  24.         <video  id="video1"
  25.                 visible="false"
  26.                 zindex="2"
  27.                 left="0" top="0"
  28.                 width="jscript:svScreen.width;" height="jscript:svScreen.height;"
  29.                 horizontalAlignment="stretch" 
  30.                 verticalAlignment="stretch" 
  31.                 OnVideoStart="myOnVideoStart();"
  32.                 OnVideoEnd="myOnVideoEnd();"
  33.                 zoom="wmpprop:mediacenter.videoZoom"
  34.                 stretchToFit="wmpprop:mediacenter.videoStretchToFit"
  35.         >
  36.         </video>
  37.     <subview id="Titles"
  38.             zindex="1"
  39.             top="0" left="0"
  40.             width="jscript:View1.width;" height="45"
  41.             backgroundColor="black"
  42.             horizontalAlignment="stretch" 
  43.     >
  44.         <text id="playlistname"
  45.             left="20" top="0"
  46.             width="jscript:svScreen.width - 40;" 
  47.             zindex="2"
  48.             foregroundColor="white"
  49.             horizontalAlignment="stretch"
  50.             fontsize="14"
  51.             fontFace="MS Shell Dlg"
  52.             fontSmoothing="true"
  53.             visible="wmpprop:mediacenter.showTitles"
  54.         >
  55.         </text>
  56.         <text id="trackname"
  57.             left="20" top="20"
  58.             width="jscript:svScreen.width - 40;" 
  59.             fontface="arial"
  60.             zindex="2"
  61.             foregroundColor="white"
  62.             horizontalAlignment="stretch"
  63.             fontsize="16"
  64.             fontFace="MS Shell Dlg"
  65.             fontSmoothing="true"
  66.             visible="wmpprop:mediacenter.showTitles"
  67.         >
  68.         </text>
  69.     </subview>
  70.     
  71.         <effects
  72.             id="myeffect"
  73.             left="20" top="45"
  74.             height="jscript:svScreen.height-65"
  75.             width="jscript:svScreen.width-40" 
  76.             allowAll="true"
  77.             horizontalAlignment="stretch" 
  78.             verticalAlignment="stretch"
  79.             currentEffectType="wmpprop:mediacenter.effectType"
  80.             currentPreset="wmpprop:mediacenter.effectPreset"
  81.             windowed="true"
  82.         >
  83. <!--
  84.             <bars   id="Bars" 
  85.                     levelColor="#00b020" peakColor="blue" 
  86.                     displayMode="1"
  87.                     horizontalspacing="2"
  88.                     levelwidth="5"
  89.                     levelfallbackspeed="4"
  90.                     peakhangtime="4"
  91.             />
  92.             <bars   id="FireStorm" levelColor="orange" peakColor="red" 
  93.                     fadeRate="15" fadeMode="1" displayMode="2"
  94.                     horizontalspacing="0"
  95.             />
  96.             <bars   id="OceanSpray" levelColor="blue" peakColor="white" 
  97.                     fadeRate="15" fadeMode="1" displayMode="2"
  98.                     horizontalspacing="0"
  99.             />
  100.             <bars   id="WaveForm" levelColor="Yellow" peakColor="red" 
  101.                     displayMode="3"
  102.             />
  103.             <spikes id="Circle" displayMode="1" foregroundColor="#0011ff" fallbackSpeed="8.0" />
  104.             <spikes id="Splat" displayMode="0" foregroundColor="#440088" fallbackSpeed="10.0" />
  105.             <dotplane id="3D Graph" cameraDistance="85" fallbackAcceleration="0.03" />
  106. -->
  107.         </effects>
  108.         
  109.         <subview id="svEffectsControls"
  110.             zindex="5"
  111.             left="0" top="jscript:svScreen.height - 20"
  112.             width="jscript:svScreen.width" height ="20"
  113.             horizontalAlignment="stretch" 
  114.             verticalAlignment="bottom" 
  115.             backgroundcolor="black"
  116.         >
  117.     
  118.             <button    id="PrevViz" 
  119.                 top="0"
  120.                 left="20"
  121.                 image="res://wmploc.dll/RT_BITMAP/#319"
  122.                 hoverImage="res://wmploc.dll/RT_BITMAP/#321"
  123.                 downImage="res://wmploc.dll/RT_BITMAP/#320"
  124.                 upTooltip="Previous Visualization"
  125.                 onmouseup="VizPrev();"
  126.             />
  127.             <button    id="NextViz" 
  128.                 top="0"
  129.                 left="38"
  130.                 upTooltip="Next Visualization"
  131.                 image="res://wmploc.dll/RT_BITMAP/#322"
  132.                 hoverImage="res://wmploc.dll/RT_BITMAP/#324"
  133.                 downImage="res://wmploc.dll/RT_BITMAP/#323"
  134.                 onmouseup="VizNext();"
  135.             />
  136.             <text id="VizTitle" 
  137.                 top="1"
  138.                 width="jscript:svEffectsControls.width - 85 - 60"
  139.                 left="60"
  140.                 value="wmpprop:myeffect.currentPresetTitle"
  141.                 foregroundColor="white" 
  142.                 fontSize="10"
  143.                 fontFace="MS Shell Dlg"
  144.                 fontSmoothing="true"
  145.                 toolTip="Visualization Name"
  146.             />
  147.             <text     id="fps" 
  148.                 top="1"
  149.                 left="jscript:VizTitle.left + VizTitle.width"
  150.                 width="40"
  151.                 value="24 fps"
  152.                 foregroundColor="white" 
  153.                 fontSize="10"
  154.                 fontFace="MS Shell Dlg"
  155.                 fontSmoothing="true"
  156.                 hoverforegroundColor="lime"
  157.                 justification="right"
  158.                 horizontalAlignment="right"
  159.                 toolTip="Visualization Speed"
  160.                 onMouseUp="ChangeFrameRate();"
  161.                 visible="false"
  162.             />
  163.             <button
  164.                 id="vizprop" 
  165.                 top="jscript:PrevViz.top"
  166.                 left="jscript:fps.left + fps.width + 5"
  167.                 horizontalAlignment="right"
  168.                 upTooltip="Visualization Properties"
  169.                 image="res://wmploc.dll/RT_BITMAP/#336"
  170.                 hoverImage="res://wmploc.dll/RT_BITMAP/#338"
  171.                 downImage="res://wmploc.dll/RT_BITMAP/#337"
  172.                 onClick="myeffect.settings();"
  173.             />
  174.         </subview>        
  175.     </subview>
  176.     
  177.         
  178.     <subview id="svBanner"
  179.         zindex="3"
  180.         left="0" top="jscript:View1.height - 32" 
  181.         width="jscript:View1.width;" height="32"
  182.         backgroundColor="black"
  183.         horizontalAlignment="stretch" 
  184.         verticalAlignment="bottom" 
  185.         visible="false" 
  186.     >
  187.         <button id="AddBanner"
  188.                 top="0"
  189.                 width="194" height="32"
  190.                 horizontalAlignment="center" 
  191.                 verticalAlignment="bottom" 
  192.                 image="WMPImage_AdBanner"
  193.                 onMouseUp="OnBannerClick();"
  194.                 onMouseOver="OnBannerMouseOver();"
  195.         >
  196.         </button>
  197.     
  198.     </subview>    
  199. </view>
  200. </theme>